package com.probox.common.entity.domain.wechat;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.probox.common.core.annotation.Excel;

/**
 * 上传至微信图片对象 wechat_img
 *
 * @author usoft
 * @date 2021-07-02
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("wechat_img")
@ApiModel(description = "上传至微信图片")
public class WechatImg implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    //默认主键自增
    @TableId(value = "img_id", type = IdType.AUTO)
    private Long imgId;

    /**
     * 微信媒体文件标识 Id
     */
    @Excel(name = "微信媒体文件标识 Id")
    @ApiModelProperty(value = "微信媒体文件标识 Id")
    private String mediaId;

    /**
     * 上传至服务器图片地址
     */
    @Excel(name = "上传至服务器图片地址")
    @ApiModelProperty(value = "上传至服务器图片地址")
    private String localityUrl;

    /**
     * 创建时间
     */
    private Date createTime;


}
